﻿//Block class is meant to be the building unit for constructing each Tetris object; It keeps coordinates, color and may be additional info needed for renderer to render it!
(function () {
    var Block = function (x, y, color) {
        this.coordinate = new tetris.Vector2D(x, y);
        this.color = color;
    };

    tetris.Block = Block;
})();